package com.ws.module.test02;

import com.ws.entity.test02.Garage;

import java.util.Scanner;

/**
 * @author 王硕
 * @version jdk21
 * @className GarageMoudle
 * @description
 * @date 2024/11/5 19:17
 */
public class GarageMoudle {
    Scanner scanner = new Scanner(System.in);
    public Garage inputGarageStas(){
        System.out.println("请输入修理厂的名字");
        String inputname = scanner.next();
        System.out.println("请输入修理厂的地址");
        String inputaddress = scanner.next();
        System.out.println("请输入修理厂的电话");
        String inputtelephone = scanner.next();

        return new Garage(inputname, inputaddress, inputtelephone);

    }
}
